﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace SMART_VIET_V01.Lib
{
    public class MyGroupBox : RichTextBox
    {
        protected override void OnPaint(PaintEventArgs e)
        {
            base.OnPaint(e);
            ControlPaint.DrawBorder(e.Graphics, ClientRectangle,
                                         Color.Gray, 1, ButtonBorderStyle.Solid,
                                         Color.Gray, 1, ButtonBorderStyle.Solid,
                                         Color.Gray, 1, ButtonBorderStyle.Solid,
                                         Color.Gray, 1, ButtonBorderStyle.Solid);
        }
    }
}
